Complex\Complex S

Total Complexity 47
Dependencies 4
Dependents 45
Total lines 329
Lines of code 136
Logical lines of code 64
Comment lines 79
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
parseComplex()
A
45 10 42
__construct()
A
55 9 17
format()
A
55 8 20
validateComplexArgument()
S
65 5 8
__call()
S
63 3 10
reverse()
S
69 2 7
invertImaginary()
S
68 2 7
invertReal()
S
68 2 7
getReal()
S
82 1 3
getImaginary()
S
82 1 3
getSuffix()
S
82 1 3
isReal()
S
80 1 3
isComplex()
S
80 1 3
__toString()
S
81 1 3